package com.wan.usercenter.mapper;

import com.wan.usercenter.pojo.BasicDepartment;
import com.wan.usercenter.pojo.BasicDepartmentExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BasicDepartmentMapper {
    long countByExample(BasicDepartmentExample example);

    int deleteByExample(BasicDepartmentExample example);

    int deleteByPrimaryKey(Long id);

    int insert(BasicDepartment record);

    int insertSelective(BasicDepartment record);

    List<BasicDepartment> selectByExample(BasicDepartmentExample example);

    BasicDepartment selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") BasicDepartment record, @Param("example") BasicDepartmentExample example);

    int updateByExample(@Param("record") BasicDepartment record, @Param("example") BasicDepartmentExample example);

    int updateByPrimaryKeySelective(BasicDepartment record);

    int updateByPrimaryKey(BasicDepartment record);
}